<%@page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />


<div class="pageContent">
	<form method="post" action="add_SendEmail_dwz"  class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56" style="background-color:#eef4f5;">
			<table>
			    <tr>
					<td align="right" >
						邮箱密码：
					</td>
					<td >

						<input type="password" id="password" name="password" value="${password}"
							size="39" class="required textInput"/>
					</td>
				</tr>
				<tr>
					<td align="right" >
						收件人：
					</td>
					<td >

						<input type="text" id="toEamil" name="toEamil" value="${toEamil}"
							size="38" class="required email textInput"/>
					</td>
				</tr>
				<tr>
					<td align="right">
						主题：
					</td>
					<td>
						<input type="text" id="theme" name="theme" value="${theme}"
							size="38" />
					</td>
				</tr>
				<tr>
					<td align="right">
						附件：
					</td>
					<td>
						<input type="file" id="file1"  value="${file}" />
						<input type="hidden" id="file" name="file" value="${file}" />
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
						正文：
					</td>
					<td>
						<textarea rows="30" cols="125" name="content"></textarea>
					</td>
				</tr>
			</table>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit" id="do">
								发送
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
<script type="text/javascript">
$(function($) {
	$("#do").click(function() {
		$('#file').attr('value', $('#file1').attr('value'));
	});
});
</script>